import { _decorator, Component, Node, tween, v3 } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('Star')
export class Star extends Component {
    start() {
        tween(this.node)
            .to(0.5, { scale: v3(0.13, 0.13, 0.13) })
            .to(0.5, { scale: v3(0.1, 0.1, 0.1) })
            .union()
            .repeatForever()
            .start()
    }

    update(deltaTime: number) {

    }
}


